go/types.Checker.fset (field)
16 uses
go/types (current package)
check.go#L157: fset *token.FileSet
check.go#L315: fset: fset,
errors.go#L97: fmt.Fprintf(&buf, "%s: ", err.check.fset.Position(p.posn.Pos()))
errors.go#L193: Fset: check.fset,
expr.go#L1151: panic(fmt.Sprintf("%s: unknown expression type %T", check.fset.Position(e.Pos()), e))
format.go#L84: fset = check.fset
format.go#L92: check.fset.Position(pos),
format.go#L94: sprintf(check.fset, check.qualifier, true, format, args...),
format.go#L100: fmt.Println(sprintf(check.fset, check.qualifier, true, format, args...))
labels.go#L158: check.fset.Position(varDeclPos).Line,
resolver.go#L77: check.errorf(s, code, "extra init expr at %s", check.fset.Position(init.Pos()))
resolver.go#L131: return check.fset.File(pos).Name()
resolver.go#L249: if f := check.fset.File(file.Pos()); f != nil {
resolver.go#L259: fileDir := dir(check.fset.Position(file.Name.Pos()).Filename)
signature.go#L437: if T.obj.pkg != check.pkg || isCGoTypeObj(check.fset, T.obj) {
stmt.go#L145: check.errorf(d, DuplicateDefault, "multiple defaults (first at %s)", check.fset.Position(first.Pos()))